import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router";
import routes from './routers/router'
import iView from "view-design";
import 'view-design/dist/styles/iview.css';
import './utils/http.js';
import md5 from 'js-md5';
import Global from "@/components/Global";
Vue.config.productionTip = false;
Vue.use(VueRouter);
Vue.use(iView);
Vue.prototype.$md5 = md5;
Vue.prototype.$global = Global;
const router = new VueRouter({
    mode: 'history',
    routes
});
new Vue({
    router,
    render: h => h(App),
}).$mount('#app');
